class Employee:
    empCount = 0            # class variable

    def __init__(self, name, salary):
        self.name = name
        self.salary = salary
        Employee.empCount += 1

    def displayCount():
        print("Total Employee %d" % Employee.empCount)

    def sayHi(self):
        print("Hi! I am " + self.name)

    def displaySelf(self):
        print("Name %s's salary is: %d" % (self.name, self.salary))

    def __del__(self):
        print('%s is dead' % self.name)
        Employee.empCount -= 1


Bob = Employee('Bob', 100)
Employee.displayCount()
print(Bob.__dict__)
print(Employee.__dict__)
Alice = Employee('Alice', 200)
Alice.displaySelf();
